package org.hepeng.workx.spring.cloud.netflix.eureka.client;

import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author he peng
 */

@ConditionalOnWebApplication
public class EurekaClientMvcConfiguration {

    @Bean
    public EurekaClientController eurekaClientController() {
        return new EurekaClientController();
    }
}
